package com.medical.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 健康咨询公告
 * </p>
 *
 * @author 风花雪月
 * @since 2024-08-02
 */
@Data
@TableName("news")
public class News implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 咨询公告标题
     */
    @TableField("title")
    private String title;

    /**
     * 咨询公告正文
     */
    @TableField("content")
    private String content;

    /**
     * 咨询公告发布人
     */
    @TableField("publisher")
    private String publisher;

    /**
     * 发布时间
     */
    @TableField("publish_time")
    private LocalDateTime publishTime;
}
